package com.sky.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.vo.DishVO;

import java.util.List;

/**
* @author 86158
* @description 针对表【dish(菜品)】的数据库操作Service
* @createDate 2025-08-17 11:06:29
*/
public interface DishService extends IService<Dish> {

    IPage<Dish> pageDish(IPage<Dish> page1, DishPageQueryDTO dishPageQueryDTO);

    void saveDish(DishDTO dishDTO);

    void updateDish(DishDTO dishDTO);

    List<DishVO> listDishByCategoryId(Long categoryId);
}

